package com.example.administrator.social.model;

/**
 * Created by Administrator on 2018/9/11 0011.
 */
public class CharVoice<T> {
    private static final int CONTENT_TYPE = 2;
    private String contentLength;
    private String time;
    private String content;
    private int charType;//send or receive

    public CharVoice() {
    }

    public CharVoice(String contentLength, String time, String content, int charType) {
        this.contentLength = contentLength;
        this.time = time;
        this.content = content;
        this.charType = charType;
    }

    public static int getContentType() {
        return CONTENT_TYPE;
    }

    public String getContentLength() {
        return contentLength;
    }

    public void setContentLength(String contentLength) {
        this.contentLength = contentLength;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getCharType() {
        return charType;
    }

    public void setCharType(int charType) {
        this.charType = charType;
    }

    @Override
    public String toString() {
        return "CharVoice{" +
                "contentLength='" + contentLength + '\'' +
                ", time='" + time + '\'' +
                ", content='" + content + '\'' +
                ", charType='" + charType + '\'' +
                '}';
    }
}
